<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Navo Portable Library: navo/algorithm/hash/signature/tiger.c源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Navo Portable Library&#160;<span id="projectnumber">Ver 1.0.20120827</span></div>
   <div id="projectbrief">Provides generic platform independent facilities.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>数据结构</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>全局定义</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>navo/algorithm/hash/signature/tiger.c</h1>  </div>
</div>
<div class="contents">
<a href="tiger_8c.html">浏览该文件的文档。</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */</span>
<a name="l00011"></a>00011 <span class="preprocessor">#ifdef _MSC_VER</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#pragma optimize(&quot;t&quot;, on)</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#endif  </span><span class="comment">/* #ifdef _MSC_VER */</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="preprocessor">#include &quot;<a class="code" href="tiger_8h.html" title="Definitions and declarations for Tiger hash algorithm.">tiger.h</a>&quot;</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#ifdef INT64_SUPPORT</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &quot;<a class="code" href="swab_8h.html" title="Endian swap.">../../../port/swab.h</a>&quot;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &quot;<a class="code" href="endian_8h.html" title="Definitions for byte order.">../../../port/endian.h</a>&quot;</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00024"></a>00024 <span class="preprocessor">#endif </span><span class="comment">/* #ifdef __cplusplus */</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="keyword">static</span> <span class="keyword">const</span> uint64_t SB1[256] = {
<a name="l00027"></a>00027     UINT64_C(0x02AAB17CF7E90C5E), UINT64_C(0xAC424B03E243A8EC), 
<a name="l00028"></a>00028     UINT64_C(0x72CD5BE30DD5FCD3), UINT64_C(0x6D019B93F6F97F3A), 
<a name="l00029"></a>00029     UINT64_C(0xCD9978FFD21F9193), UINT64_C(0x7573A1C9708029E2),
<a name="l00030"></a>00030     UINT64_C(0xB164326B922A83C3), UINT64_C(0x46883EEE04915870), 
<a name="l00031"></a>00031     UINT64_C(0xEAACE3057103ECE6), UINT64_C(0xC54169B808A3535C), 
<a name="l00032"></a>00032     UINT64_C(0x4CE754918DDEC47C), UINT64_C(0x0AA2F4DFDC0DF40C),
<a name="l00033"></a>00033     UINT64_C(0x10B76F18A74DBEFA), UINT64_C(0xC6CCB6235AD1AB6A), 
<a name="l00034"></a>00034     UINT64_C(0x13726121572FE2FF), UINT64_C(0x1A488C6F199D921E), 
<a name="l00035"></a>00035     UINT64_C(0x4BC9F9F4DA0007CA), UINT64_C(0x26F5E6F6E85241C7),
<a name="l00036"></a>00036     UINT64_C(0x859079DBEA5947B6), UINT64_C(0x4F1885C5C99E8C92), 
<a name="l00037"></a>00037     UINT64_C(0xD78E761EA96F864B), UINT64_C(0x8E36428C52B5C17D), 
<a name="l00038"></a>00038     UINT64_C(0x69CF6827373063C1), UINT64_C(0xB607C93D9BB4C56E),
<a name="l00039"></a>00039     UINT64_C(0x7D820E760E76B5EA), UINT64_C(0x645C9CC6F07FDC42), 
<a name="l00040"></a>00040     UINT64_C(0xBF38A078243342E0), UINT64_C(0x5F6B343C9D2E7D04), 
<a name="l00041"></a>00041     UINT64_C(0xF2C28AEB600B0EC6), UINT64_C(0x6C0ED85F7254BCAC),
<a name="l00042"></a>00042     UINT64_C(0x71592281A4DB4FE5), UINT64_C(0x1967FA69CE0FED9F), 
<a name="l00043"></a>00043     UINT64_C(0xFD5293F8B96545DB), UINT64_C(0xC879E9D7F2A7600B), 
<a name="l00044"></a>00044     UINT64_C(0x860248920193194E), UINT64_C(0xA4F9533B2D9CC0B3),
<a name="l00045"></a>00045     UINT64_C(0x9053836C15957613), UINT64_C(0xDB6DCF8AFC357BF1), 
<a name="l00046"></a>00046     UINT64_C(0x18BEEA7A7A370F57), UINT64_C(0x037117CA50B99066), 
<a name="l00047"></a>00047     UINT64_C(0x6AB30A9774424A35), UINT64_C(0xF4E92F02E325249B),
<a name="l00048"></a>00048     UINT64_C(0x7739DB07061CCAE1), UINT64_C(0xD8F3B49CECA42A05), 
<a name="l00049"></a>00049     UINT64_C(0xBD56BE3F51382F73), UINT64_C(0x45FAED5843B0BB28), 
<a name="l00050"></a>00050     UINT64_C(0x1C813D5C11BF1F83), UINT64_C(0x8AF0E4B6D75FA169),
<a name="l00051"></a>00051     UINT64_C(0x33EE18A487AD9999), UINT64_C(0x3C26E8EAB1C94410), 
<a name="l00052"></a>00052     UINT64_C(0xB510102BC0A822F9), UINT64_C(0x141EEF310CE6123B), 
<a name="l00053"></a>00053     UINT64_C(0xFC65B90059DDB154), UINT64_C(0xE0158640C5E0E607),
<a name="l00054"></a>00054     UINT64_C(0x884E079826C3A3CF), UINT64_C(0x930D0D9523C535FD), 
<a name="l00055"></a>00055     UINT64_C(0x35638D754E9A2B00), UINT64_C(0x4085FCCF40469DD5), 
<a name="l00056"></a>00056     UINT64_C(0xC4B17AD28BE23A4C), UINT64_C(0xCAB2F0FC6A3E6A2E),
<a name="l00057"></a>00057     UINT64_C(0x2860971A6B943FCD), UINT64_C(0x3DDE6EE212E30446), 
<a name="l00058"></a>00058     UINT64_C(0x6222F32AE01765AE), UINT64_C(0x5D550BB5478308FE), 
<a name="l00059"></a>00059     UINT64_C(0xA9EFA98DA0EDA22A), UINT64_C(0xC351A71686C40DA7),
<a name="l00060"></a>00060     UINT64_C(0x1105586D9C867C84), UINT64_C(0xDCFFEE85FDA22853), 
<a name="l00061"></a>00061     UINT64_C(0xCCFBD0262C5EEF76), UINT64_C(0xBAF294CB8990D201), 
<a name="l00062"></a>00062     UINT64_C(0xE69464F52AFAD975), UINT64_C(0x94B013AFDF133E14),
<a name="l00063"></a>00063     UINT64_C(0x06A7D1A32823C958), UINT64_C(0x6F95FE5130F61119), 
<a name="l00064"></a>00064     UINT64_C(0xD92AB34E462C06C0), UINT64_C(0xED7BDE33887C71D2), 
<a name="l00065"></a>00065     UINT64_C(0x79746D6E6518393E), UINT64_C(0x5BA419385D713329),
<a name="l00066"></a>00066     UINT64_C(0x7C1BA6B948A97564), UINT64_C(0x31987C197BFDAC67), 
<a name="l00067"></a>00067     UINT64_C(0xDE6C23C44B053D02), UINT64_C(0x581C49FED002D64D), 
<a name="l00068"></a>00068     UINT64_C(0xDD474D6338261571), UINT64_C(0xAA4546C3E473D062),
<a name="l00069"></a>00069     UINT64_C(0x928FCE349455F860), UINT64_C(0x48161BBACAAB94D9), 
<a name="l00070"></a>00070     UINT64_C(0x63912430770E6F68), UINT64_C(0x6EC8A5E602C6641C), 
<a name="l00071"></a>00071     UINT64_C(0x87282515337DDD2B), UINT64_C(0x2CDA6B42034B701B),
<a name="l00072"></a>00072     UINT64_C(0xB03D37C181CB096D), UINT64_C(0xE108438266C71C6F), 
<a name="l00073"></a>00073     UINT64_C(0x2B3180C7EB51B255), UINT64_C(0xDF92B82F96C08BBC), 
<a name="l00074"></a>00074     UINT64_C(0x5C68C8C0A632F3BA), UINT64_C(0x5504CC861C3D0556),
<a name="l00075"></a>00075     UINT64_C(0xABBFA4E55FB26B8F), UINT64_C(0x41848B0AB3BACEB4), 
<a name="l00076"></a>00076     UINT64_C(0xB334A273AA445D32), UINT64_C(0xBCA696F0A85AD881), 
<a name="l00077"></a>00077     UINT64_C(0x24F6EC65B528D56C), UINT64_C(0x0CE1512E90F4524A),
<a name="l00078"></a>00078     UINT64_C(0x4E9DD79D5506D35A), UINT64_C(0x258905FAC6CE9779), 
<a name="l00079"></a>00079     UINT64_C(0x2019295B3E109B33), UINT64_C(0xF8A9478B73A054CC), 
<a name="l00080"></a>00080     UINT64_C(0x2924F2F934417EB0), UINT64_C(0x3993357D536D1BC4),
<a name="l00081"></a>00081     UINT64_C(0x38A81AC21DB6FF8B), UINT64_C(0x47C4FBF17D6016BF), 
<a name="l00082"></a>00082     UINT64_C(0x1E0FAADD7667E3F5), UINT64_C(0x7ABCFF62938BEB96), 
<a name="l00083"></a>00083     UINT64_C(0xA78DAD948FC179C9), UINT64_C(0x8F1F98B72911E50D),
<a name="l00084"></a>00084     UINT64_C(0x61E48EAE27121A91), UINT64_C(0x4D62F7AD31859808), 
<a name="l00085"></a>00085     UINT64_C(0xECEBA345EF5CEAEB), UINT64_C(0xF5CEB25EBC9684CE), 
<a name="l00086"></a>00086     UINT64_C(0xF633E20CB7F76221), UINT64_C(0xA32CDF06AB8293E4),
<a name="l00087"></a>00087     UINT64_C(0x985A202CA5EE2CA4), UINT64_C(0xCF0B8447CC8A8FB1), 
<a name="l00088"></a>00088     UINT64_C(0x9F765244979859A3), UINT64_C(0xA8D516B1A1240017), 
<a name="l00089"></a>00089     UINT64_C(0x0BD7BA3EBB5DC726), UINT64_C(0xE54BCA55B86ADB39),
<a name="l00090"></a>00090     UINT64_C(0x1D7A3AFD6C478063), UINT64_C(0x519EC608E7669EDD), 
<a name="l00091"></a>00091     UINT64_C(0x0E5715A2D149AA23), UINT64_C(0x177D4571848FF194), 
<a name="l00092"></a>00092     UINT64_C(0xEEB55F3241014C22), UINT64_C(0x0F5E5CA13A6E2EC2),
<a name="l00093"></a>00093     UINT64_C(0x8029927B75F5C361), UINT64_C(0xAD139FABC3D6E436), 
<a name="l00094"></a>00094     UINT64_C(0x0D5DF1A94CCF402F), UINT64_C(0x3E8BD948BEA5DFC8), 
<a name="l00095"></a>00095     UINT64_C(0xA5A0D357BD3FF77E), UINT64_C(0xA2D12E251F74F645),
<a name="l00096"></a>00096     UINT64_C(0x66FD9E525E81A082), UINT64_C(0x2E0C90CE7F687A49), 
<a name="l00097"></a>00097     UINT64_C(0xC2E8BCBEBA973BC5), UINT64_C(0x000001BCE509745F), 
<a name="l00098"></a>00098     UINT64_C(0x423777BBE6DAB3D6), UINT64_C(0xD1661C7EAEF06EB5),
<a name="l00099"></a>00099     UINT64_C(0xA1781F354DAACFD8), UINT64_C(0x2D11284A2B16AFFC), 
<a name="l00100"></a>00100     UINT64_C(0xF1FC4F67FA891D1F), UINT64_C(0x73ECC25DCB920ADA), 
<a name="l00101"></a>00101     UINT64_C(0xAE610C22C2A12651), UINT64_C(0x96E0A810D356B78A),
<a name="l00102"></a>00102     UINT64_C(0x5A9A381F2FE7870F), UINT64_C(0xD5AD62EDE94E5530), 
<a name="l00103"></a>00103     UINT64_C(0xD225E5E8368D1427), UINT64_C(0x65977B70C7AF4631), 
<a name="l00104"></a>00104     UINT64_C(0x99F889B2DE39D74F), UINT64_C(0x233F30BF54E1D143),
<a name="l00105"></a>00105     UINT64_C(0x9A9675D3D9A63C97), UINT64_C(0x5470554FF334F9A8), 
<a name="l00106"></a>00106     UINT64_C(0x166ACB744A4F5688), UINT64_C(0x70C74CAAB2E4AEAD), 
<a name="l00107"></a>00107     UINT64_C(0xF0D091646F294D12), UINT64_C(0x57B82A89684031D1),
<a name="l00108"></a>00108     UINT64_C(0xEFD95A5A61BE0B6B), UINT64_C(0x2FBD12E969F2F29A), 
<a name="l00109"></a>00109     UINT64_C(0x9BD37013FEFF9FE8), UINT64_C(0x3F9B0404D6085A06), 
<a name="l00110"></a>00110     UINT64_C(0x4940C1F3166CFE15), UINT64_C(0x09542C4DCDF3DEFB),
<a name="l00111"></a>00111     UINT64_C(0xB4C5218385CD5CE3), UINT64_C(0xC935B7DC4462A641), 
<a name="l00112"></a>00112     UINT64_C(0x3417F8A68ED3B63F), UINT64_C(0xB80959295B215B40), 
<a name="l00113"></a>00113     UINT64_C(0xF99CDAEF3B8C8572), UINT64_C(0x018C0614F8FCB95D),
<a name="l00114"></a>00114     UINT64_C(0x1B14ACCD1A3ACDF3), UINT64_C(0x84D471F200BB732D), 
<a name="l00115"></a>00115     UINT64_C(0xC1A3110E95E8DA16), UINT64_C(0x430A7220BF1A82B8), 
<a name="l00116"></a>00116     UINT64_C(0xB77E090D39DF210E), UINT64_C(0x5EF4BD9F3CD05E9D),
<a name="l00117"></a>00117     UINT64_C(0x9D4FF6DA7E57A444), UINT64_C(0xDA1D60E183D4A5F8), 
<a name="l00118"></a>00118     UINT64_C(0xB287C38417998E47), UINT64_C(0xFE3EDC121BB31886), 
<a name="l00119"></a>00119     UINT64_C(0xC7FE3CCC980CCBEF), UINT64_C(0xE46FB590189BFD03),
<a name="l00120"></a>00120     UINT64_C(0x3732FD469A4C57DC), UINT64_C(0x7EF700A07CF1AD65), 
<a name="l00121"></a>00121     UINT64_C(0x59C64468A31D8859), UINT64_C(0x762FB0B4D45B61F6), 
<a name="l00122"></a>00122     UINT64_C(0x155BAED099047718), UINT64_C(0x68755E4C3D50BAA6),
<a name="l00123"></a>00123     UINT64_C(0xE9214E7F22D8B4DF), UINT64_C(0x2ADDBF532EAC95F4), 
<a name="l00124"></a>00124     UINT64_C(0x32AE3909B4BD0109), UINT64_C(0x834DF537B08E3450), 
<a name="l00125"></a>00125     UINT64_C(0xFA209DA84220728D), UINT64_C(0x9E691D9B9EFE23F7),
<a name="l00126"></a>00126     UINT64_C(0x0446D288C4AE8D7F), UINT64_C(0x7B4CC524E169785B), 
<a name="l00127"></a>00127     UINT64_C(0x21D87F0135CA1385), UINT64_C(0xCEBB400F137B8AA5), 
<a name="l00128"></a>00128     UINT64_C(0x272E2B66580796BE), UINT64_C(0x3612264125C2B0DE),
<a name="l00129"></a>00129     UINT64_C(0x057702BDAD1EFBB2), UINT64_C(0xD4BABB8EACF84BE9), 
<a name="l00130"></a>00130     UINT64_C(0x91583139641BC67B), UINT64_C(0x8BDC2DE08036E024), 
<a name="l00131"></a>00131     UINT64_C(0x603C8156F49F68ED), UINT64_C(0xF7D236F7DBEF5111),
<a name="l00132"></a>00132     UINT64_C(0x9727C4598AD21E80), UINT64_C(0xA08A0896670A5FD7), 
<a name="l00133"></a>00133     UINT64_C(0xCB4A8F4309EBA9CB), UINT64_C(0x81AF564B0F7036A1), 
<a name="l00134"></a>00134     UINT64_C(0xC0B99AA778199ABD), UINT64_C(0x959F1EC83FC8E952),
<a name="l00135"></a>00135     UINT64_C(0x8C505077794A81B9), UINT64_C(0x3ACAAF8F056338F0), 
<a name="l00136"></a>00136     UINT64_C(0x07B43F50627A6778), UINT64_C(0x4A44AB49F5ECCC77), 
<a name="l00137"></a>00137     UINT64_C(0x3BC3D6E4B679EE98), UINT64_C(0x9CC0D4D1CF14108C),
<a name="l00138"></a>00138     UINT64_C(0x4406C00B206BC8A0), UINT64_C(0x82A18854C8D72D89), 
<a name="l00139"></a>00139     UINT64_C(0x67E366B35C3C432C), UINT64_C(0xB923DD61102B37F2), 
<a name="l00140"></a>00140     UINT64_C(0x56AB2779D884271D), UINT64_C(0xBE83E1B0FF1525AF),
<a name="l00141"></a>00141     UINT64_C(0xFB7C65D4217E49A9), UINT64_C(0x6BDBE0E76D48E7D4), 
<a name="l00142"></a>00142     UINT64_C(0x08DF828745D9179E), UINT64_C(0x22EA6A9ADD53BD34), 
<a name="l00143"></a>00143     UINT64_C(0xE36E141C5622200A), UINT64_C(0x7F805D1B8CB750EE),
<a name="l00144"></a>00144     UINT64_C(0xAFE5C7A59F58E837), UINT64_C(0xE27F996A4FB1C23C), 
<a name="l00145"></a>00145     UINT64_C(0xD3867DFB0775F0D0), UINT64_C(0xD0E673DE6E88891A), 
<a name="l00146"></a>00146     UINT64_C(0x123AEB9EAFB86C25), UINT64_C(0x30F1D5D5C145B895),
<a name="l00147"></a>00147     UINT64_C(0xBB434A2DEE7269E7), UINT64_C(0x78CB67ECF931FA38), 
<a name="l00148"></a>00148     UINT64_C(0xF33B0372323BBF9C), UINT64_C(0x52D66336FB279C74), 
<a name="l00149"></a>00149     UINT64_C(0x505F33AC0AFB4EAA), UINT64_C(0xE8A5CD99A2CCE187),
<a name="l00150"></a>00150     UINT64_C(0x534974801E2D30BB), UINT64_C(0x8D2D5711D5876D90), 
<a name="l00151"></a>00151     UINT64_C(0x1F1A412891BC038E), UINT64_C(0xD6E2E71D82E56648), 
<a name="l00152"></a>00152     UINT64_C(0x74036C3A497732B7), UINT64_C(0x89B67ED96361F5AB),
<a name="l00153"></a>00153     UINT64_C(0xFFED95D8F1EA02A2), UINT64_C(0xE72B3BD61464D43D), 
<a name="l00154"></a>00154     UINT64_C(0xA6300F170BDC4820), UINT64_C(0xEBC18760ED78A77A)
<a name="l00155"></a>00155 };
<a name="l00156"></a>00156 
<a name="l00157"></a>00157 <span class="keyword">static</span> <span class="keyword">const</span> uint64_t SB2[256] = {
<a name="l00158"></a>00158     UINT64_C(0xE6A6BE5A05A12138), UINT64_C(0xB5A122A5B4F87C98), 
<a name="l00159"></a>00159     UINT64_C(0x563C6089140B6990), UINT64_C(0x4C46CB2E391F5DD5), 
<a name="l00160"></a>00160     UINT64_C(0xD932ADDBC9B79434), UINT64_C(0x08EA70E42015AFF5),
<a name="l00161"></a>00161     UINT64_C(0xD765A6673E478CF1), UINT64_C(0xC4FB757EAB278D99), 
<a name="l00162"></a>00162     UINT64_C(0xDF11C6862D6E0692), UINT64_C(0xDDEB84F10D7F3B16), 
<a name="l00163"></a>00163     UINT64_C(0x6F2EF604A665EA04), UINT64_C(0x4A8E0F0FF0E0DFB3),
<a name="l00164"></a>00164     UINT64_C(0xA5EDEEF83DBCBA51), UINT64_C(0xFC4F0A2A0EA4371E), 
<a name="l00165"></a>00165     UINT64_C(0xE83E1DA85CB38429), UINT64_C(0xDC8FF882BA1B1CE2), 
<a name="l00166"></a>00166     UINT64_C(0xCD45505E8353E80D), UINT64_C(0x18D19A00D4DB0717),
<a name="l00167"></a>00167     UINT64_C(0x34A0CFEDA5F38101), UINT64_C(0x0BE77E518887CAF2), 
<a name="l00168"></a>00168     UINT64_C(0x1E341438B3C45136), UINT64_C(0xE05797F49089CCF9), 
<a name="l00169"></a>00169     UINT64_C(0xFFD23F9DF2591D14), UINT64_C(0x543DDA228595C5CD),
<a name="l00170"></a>00170     UINT64_C(0x661F81FD99052A33), UINT64_C(0x8736E641DB0F7B76), 
<a name="l00171"></a>00171     UINT64_C(0x15227725418E5307), UINT64_C(0xE25F7F46162EB2FA), 
<a name="l00172"></a>00172     UINT64_C(0x48A8B2126C13D9FE), UINT64_C(0xAFDC541792E76EEA),
<a name="l00173"></a>00173     UINT64_C(0x03D912BFC6D1898F), UINT64_C(0x31B1AAFA1B83F51B), 
<a name="l00174"></a>00174     UINT64_C(0xF1AC2796E42AB7D9), UINT64_C(0x40A3A7D7FCD2EBAC), 
<a name="l00175"></a>00175     UINT64_C(0x1056136D0AFBBCC5), UINT64_C(0x7889E1DD9A6D0C85),
<a name="l00176"></a>00176     UINT64_C(0xD33525782A7974AA), UINT64_C(0xA7E25D09078AC09B), 
<a name="l00177"></a>00177     UINT64_C(0xBD4138B3EAC6EDD0), UINT64_C(0x920ABFBE71EB9E70), 
<a name="l00178"></a>00178     UINT64_C(0xA2A5D0F54FC2625C), UINT64_C(0xC054E36B0B1290A3),
<a name="l00179"></a>00179     UINT64_C(0xF6DD59FF62FE932B), UINT64_C(0x3537354511A8AC7D), 
<a name="l00180"></a>00180     UINT64_C(0xCA845E9172FADCD4), UINT64_C(0x84F82B60329D20DC), 
<a name="l00181"></a>00181     UINT64_C(0x79C62CE1CD672F18), UINT64_C(0x8B09A2ADD124642C),
<a name="l00182"></a>00182     UINT64_C(0xD0C1E96A19D9E726), UINT64_C(0x5A786A9B4BA9500C), 
<a name="l00183"></a>00183     UINT64_C(0x0E020336634C43F3), UINT64_C(0xC17B474AEB66D822), 
<a name="l00184"></a>00184     UINT64_C(0x6A731AE3EC9BAAC2), UINT64_C(0x8226667AE0840258),
<a name="l00185"></a>00185     UINT64_C(0x67D4567691CAECA5), UINT64_C(0x1D94155C4875ADB5), 
<a name="l00186"></a>00186     UINT64_C(0x6D00FD985B813FDF), UINT64_C(0x51286EFCB774CD06), 
<a name="l00187"></a>00187     UINT64_C(0x5E8834471FA744AF), UINT64_C(0xF72CA0AEE761AE2E),
<a name="l00188"></a>00188     UINT64_C(0xBE40E4CDAEE8E09A), UINT64_C(0xE9970BBB5118F665), 
<a name="l00189"></a>00189     UINT64_C(0x726E4BEB33DF1964), UINT64_C(0x703B000729199762), 
<a name="l00190"></a>00190     UINT64_C(0x4631D816F5EF30A7), UINT64_C(0xB880B5B51504A6BE),
<a name="l00191"></a>00191     UINT64_C(0x641793C37ED84B6C), UINT64_C(0x7B21ED77F6E97D96), 
<a name="l00192"></a>00192     UINT64_C(0x776306312EF96B73), UINT64_C(0xAE528948E86FF3F4), 
<a name="l00193"></a>00193     UINT64_C(0x53DBD7F286A3F8F8), UINT64_C(0x16CADCE74CFC1063),
<a name="l00194"></a>00194     UINT64_C(0x005C19BDFA52C6DD), UINT64_C(0x68868F5D64D46AD3), 
<a name="l00195"></a>00195     UINT64_C(0x3A9D512CCF1E186A), UINT64_C(0x367E62C2385660AE), 
<a name="l00196"></a>00196     UINT64_C(0xE359E7EA77DCB1D7), UINT64_C(0x526C0773749ABE6E),
<a name="l00197"></a>00197     UINT64_C(0x735AE5F9D09F734B), UINT64_C(0x493FC7CC8A558BA8), 
<a name="l00198"></a>00198     UINT64_C(0xB0B9C1533041AB45), UINT64_C(0x321958BA470A59BD), 
<a name="l00199"></a>00199     UINT64_C(0x852DB00B5F46C393), UINT64_C(0x91209B2BD336B0E5),
<a name="l00200"></a>00200     UINT64_C(0x6E604F7D659EF19F), UINT64_C(0xB99A8AE2782CCB24), 
<a name="l00201"></a>00201     UINT64_C(0xCCF52AB6C814C4C7), UINT64_C(0x4727D9AFBE11727B), 
<a name="l00202"></a>00202     UINT64_C(0x7E950D0C0121B34D), UINT64_C(0x756F435670AD471F),
<a name="l00203"></a>00203     UINT64_C(0xF5ADD442615A6849), UINT64_C(0x4E87E09980B9957A), 
<a name="l00204"></a>00204     UINT64_C(0x2ACFA1DF50AEE355), UINT64_C(0xD898263AFD2FD556), 
<a name="l00205"></a>00205     UINT64_C(0xC8F4924DD80C8FD6), UINT64_C(0xCF99CA3D754A173A),
<a name="l00206"></a>00206     UINT64_C(0xFE477BACAF91BF3C), UINT64_C(0xED5371F6D690C12D), 
<a name="l00207"></a>00207     UINT64_C(0x831A5C285E687094), UINT64_C(0xC5D3C90A3708A0A4), 
<a name="l00208"></a>00208     UINT64_C(0x0F7F903717D06580), UINT64_C(0x19F9BB13B8FDF27F),
<a name="l00209"></a>00209     UINT64_C(0xB1BD6F1B4D502843), UINT64_C(0x1C761BA38FFF4012), 
<a name="l00210"></a>00210     UINT64_C(0x0D1530C4E2E21F3B), UINT64_C(0x8943CE69A7372C8A), 
<a name="l00211"></a>00211     UINT64_C(0xE5184E11FEB5CE66), UINT64_C(0x618BDB80BD736621),
<a name="l00212"></a>00212     UINT64_C(0x7D29BAD68B574D0B), UINT64_C(0x81BB613E25E6FE5B), 
<a name="l00213"></a>00213     UINT64_C(0x071C9C10BC07913F), UINT64_C(0xC7BEEB7909AC2D97), 
<a name="l00214"></a>00214     UINT64_C(0xC3E58D353BC5D757), UINT64_C(0xEB017892F38F61E8),
<a name="l00215"></a>00215     UINT64_C(0xD4EFFB9C9B1CC21A), UINT64_C(0x99727D26F494F7AB), 
<a name="l00216"></a>00216     UINT64_C(0xA3E063A2956B3E03), UINT64_C(0x9D4A8B9A4AA09C30), 
<a name="l00217"></a>00217     UINT64_C(0x3F6AB7D500090FB4), UINT64_C(0x9CC0F2A057268AC0),
<a name="l00218"></a>00218     UINT64_C(0x3DEE9D2DEDBF42D1), UINT64_C(0x330F49C87960A972), 
<a name="l00219"></a>00219     UINT64_C(0xC6B2720287421B41), UINT64_C(0x0AC59EC07C00369C), 
<a name="l00220"></a>00220     UINT64_C(0xEF4EAC49CB353425), UINT64_C(0xF450244EEF0129D8),
<a name="l00221"></a>00221     UINT64_C(0x8ACC46E5CAF4DEB6), UINT64_C(0x2FFEAB63989263F7), 
<a name="l00222"></a>00222     UINT64_C(0x8F7CB9FE5D7A4578), UINT64_C(0x5BD8F7644E634635), 
<a name="l00223"></a>00223     UINT64_C(0x427A7315BF2DC900), UINT64_C(0x17D0C4AA2125261C),
<a name="l00224"></a>00224     UINT64_C(0x3992486C93518E50), UINT64_C(0xB4CBFEE0A2D7D4C3), 
<a name="l00225"></a>00225     UINT64_C(0x7C75D6202C5DDD8D), UINT64_C(0xDBC295D8E35B6C61), 
<a name="l00226"></a>00226     UINT64_C(0x60B369D302032B19), UINT64_C(0xCE42685FDCE44132),
<a name="l00227"></a>00227     UINT64_C(0x06F3DDB9DDF65610), UINT64_C(0x8EA4D21DB5E148F0), 
<a name="l00228"></a>00228     UINT64_C(0x20B0FCE62FCD496F), UINT64_C(0x2C1B912358B0EE31), 
<a name="l00229"></a>00229     UINT64_C(0xB28317B818F5A308), UINT64_C(0xA89C1E189CA6D2CF),
<a name="l00230"></a>00230     UINT64_C(0x0C6B18576AAADBC8), UINT64_C(0xB65DEAA91299FAE3), 
<a name="l00231"></a>00231     UINT64_C(0xFB2B794B7F1027E7), UINT64_C(0x04E4317F443B5BEB), 
<a name="l00232"></a>00232     UINT64_C(0x4B852D325939D0A6), UINT64_C(0xD5AE6BEEFB207FFC),
<a name="l00233"></a>00233     UINT64_C(0x309682B281C7D374), UINT64_C(0xBAE309A194C3B475), 
<a name="l00234"></a>00234     UINT64_C(0x8CC3F97B13B49F05), UINT64_C(0x98A9422FF8293967), 
<a name="l00235"></a>00235     UINT64_C(0x244B16B01076FF7C), UINT64_C(0xF8BF571C663D67EE),
<a name="l00236"></a>00236     UINT64_C(0x1F0D6758EEE30DA1), UINT64_C(0xC9B611D97ADEB9B7), 
<a name="l00237"></a>00237     UINT64_C(0xB7AFD5887B6C57A2), UINT64_C(0x6290AE846B984FE1), 
<a name="l00238"></a>00238     UINT64_C(0x94DF4CDEACC1A5FD), UINT64_C(0x058A5BD1C5483AFF),
<a name="l00239"></a>00239     UINT64_C(0x63166CC142BA3C37), UINT64_C(0x8DB8526EB2F76F40), 
<a name="l00240"></a>00240     UINT64_C(0xE10880036F0D6D4E), UINT64_C(0x9E0523C9971D311D), 
<a name="l00241"></a>00241     UINT64_C(0x45EC2824CC7CD691), UINT64_C(0x575B8359E62382C9),
<a name="l00242"></a>00242     UINT64_C(0xFA9E400DC4889995), UINT64_C(0xD1823ECB45721568), 
<a name="l00243"></a>00243     UINT64_C(0xDAFD983B8206082F), UINT64_C(0xAA7D29082386A8CB), 
<a name="l00244"></a>00244     UINT64_C(0x269FCD4403B87588), UINT64_C(0x1B91F5F728BDD1E0),
<a name="l00245"></a>00245     UINT64_C(0xE4669F39040201F6), UINT64_C(0x7A1D7C218CF04ADE), 
<a name="l00246"></a>00246     UINT64_C(0x65623C29D79CE5CE), UINT64_C(0x2368449096C00BB1), 
<a name="l00247"></a>00247     UINT64_C(0xAB9BF1879DA503BA), UINT64_C(0xBC23ECB1A458058E),
<a name="l00248"></a>00248     UINT64_C(0x9A58DF01BB401ECC), UINT64_C(0xA070E868A85F143D), 
<a name="l00249"></a>00249     UINT64_C(0x4FF188307DF2239E), UINT64_C(0x14D565B41A641183), 
<a name="l00250"></a>00250     UINT64_C(0xEE13337452701602), UINT64_C(0x950E3DCF3F285E09),
<a name="l00251"></a>00251     UINT64_C(0x59930254B9C80953), UINT64_C(0x3BF299408930DA6D), 
<a name="l00252"></a>00252     UINT64_C(0xA955943F53691387), UINT64_C(0xA15EDECAA9CB8784), 
<a name="l00253"></a>00253     UINT64_C(0x29142127352BE9A0), UINT64_C(0x76F0371FFF4E7AFB),
<a name="l00254"></a>00254     UINT64_C(0x0239F450274F2228), UINT64_C(0xBB073AF01D5E868B), 
<a name="l00255"></a>00255     UINT64_C(0xBFC80571C10E96C1), UINT64_C(0xD267088568222E23), 
<a name="l00256"></a>00256     UINT64_C(0x9671A3D48E80B5B0), UINT64_C(0x55B5D38AE193BB81),
<a name="l00257"></a>00257     UINT64_C(0x693AE2D0A18B04B8), UINT64_C(0x5C48B4ECADD5335F), 
<a name="l00258"></a>00258     UINT64_C(0xFD743B194916A1CA), UINT64_C(0x2577018134BE98C4), 
<a name="l00259"></a>00259     UINT64_C(0xE77987E83C54A4AD), UINT64_C(0x28E11014DA33E1B9),
<a name="l00260"></a>00260     UINT64_C(0x270CC59E226AA213), UINT64_C(0x71495F756D1A5F60), 
<a name="l00261"></a>00261     UINT64_C(0x9BE853FB60AFEF77), UINT64_C(0xADC786A7F7443DBF), 
<a name="l00262"></a>00262     UINT64_C(0x0904456173B29A82), UINT64_C(0x58BC7A66C232BD5E),
<a name="l00263"></a>00263     UINT64_C(0xF306558C673AC8B2), UINT64_C(0x41F639C6B6C9772A), 
<a name="l00264"></a>00264     UINT64_C(0x216DEFE99FDA35DA), UINT64_C(0x11640CC71C7BE615), 
<a name="l00265"></a>00265     UINT64_C(0x93C43694565C5527), UINT64_C(0xEA038E6246777839),
<a name="l00266"></a>00266     UINT64_C(0xF9ABF3CE5A3E2469), UINT64_C(0x741E768D0FD312D2), 
<a name="l00267"></a>00267     UINT64_C(0x0144B883CED652C6), UINT64_C(0xC20B5A5BA33F8552), 
<a name="l00268"></a>00268     UINT64_C(0x1AE69633C3435A9D), UINT64_C(0x97A28CA4088CFDEC),
<a name="l00269"></a>00269     UINT64_C(0x8824A43C1E96F420), UINT64_C(0x37612FA66EEEA746), 
<a name="l00270"></a>00270     UINT64_C(0x6B4CB165F9CF0E5A), UINT64_C(0x43AA1C06A0ABFB4A), 
<a name="l00271"></a>00271     UINT64_C(0x7F4DC26FF162796B), UINT64_C(0x6CBACC8E54ED9B0F),
<a name="l00272"></a>00272     UINT64_C(0xA6B7FFEFD2BB253E), UINT64_C(0x2E25BC95B0A29D4F), 
<a name="l00273"></a>00273     UINT64_C(0x86D6A58BDEF1388C), UINT64_C(0xDED74AC576B6F054), 
<a name="l00274"></a>00274     UINT64_C(0x8030BDBC2B45805D), UINT64_C(0x3C81AF70E94D9289),
<a name="l00275"></a>00275     UINT64_C(0x3EFF6DDA9E3100DB), UINT64_C(0xB38DC39FDFCC8847), 
<a name="l00276"></a>00276     UINT64_C(0x123885528D17B87E), UINT64_C(0xF2DA0ED240B1B642), 
<a name="l00277"></a>00277     UINT64_C(0x44CEFADCD54BF9A9), UINT64_C(0x1312200E433C7EE6),
<a name="l00278"></a>00278     UINT64_C(0x9FFCC84F3A78C748), UINT64_C(0xF0CD1F72248576BB), 
<a name="l00279"></a>00279     UINT64_C(0xEC6974053638CFE4), UINT64_C(0x2BA7B67C0CEC4E4C), 
<a name="l00280"></a>00280     UINT64_C(0xAC2F4DF3E5CE32ED), UINT64_C(0xCB33D14326EA4C11),
<a name="l00281"></a>00281     UINT64_C(0xA4E9044CC77E58BC), UINT64_C(0x5F513293D934FCEF), 
<a name="l00282"></a>00282     UINT64_C(0x5DC9645506E55444), UINT64_C(0x50DE418F317DE40A), 
<a name="l00283"></a>00283     UINT64_C(0x388CB31A69DDE259), UINT64_C(0x2DB4A83455820A86),
<a name="l00284"></a>00284     UINT64_C(0x9010A91E84711AE9), UINT64_C(0x4DF7F0B7B1498371), 
<a name="l00285"></a>00285     UINT64_C(0xD62A2EABC0977179), UINT64_C(0x22FAC097AA8D5C0E)
<a name="l00286"></a>00286 };
<a name="l00287"></a>00287 
<a name="l00288"></a>00288 <span class="keyword">static</span> <span class="keyword">const</span> uint64_t SB3[256] = {
<a name="l00289"></a>00289     UINT64_C(0xF49FCC2FF1DAF39B), UINT64_C(0x487FD5C66FF29281), UINT64_C(0xE8A30667FCDCA83F),
<a name="l00290"></a>00290     UINT64_C(0x2C9B4BE3D2FCCE63), UINT64_C(0xDA3FF74B93FBBBC2), UINT64_C(0x2FA165D2FE70BA66),
<a name="l00291"></a>00291     UINT64_C(0xA103E279970E93D4), UINT64_C(0xBECDEC77B0E45E71), UINT64_C(0xCFB41E723985E497),
<a name="l00292"></a>00292     UINT64_C(0xB70AAA025EF75017), UINT64_C(0xD42309F03840B8E0), UINT64_C(0x8EFC1AD035898579),
<a name="l00293"></a>00293     UINT64_C(0x96C6920BE2B2ABC5), UINT64_C(0x66AF4163375A9172), UINT64_C(0x2174ABDCCA7127FB),
<a name="l00294"></a>00294     UINT64_C(0xB33CCEA64A72FF41), UINT64_C(0xF04A4933083066A5), UINT64_C(0x8D970ACDD7289AF5),
<a name="l00295"></a>00295     UINT64_C(0x8F96E8E031C8C25E), UINT64_C(0xF3FEC02276875D47), UINT64_C(0xEC7BF310056190DD),
<a name="l00296"></a>00296     UINT64_C(0xF5ADB0AEBB0F1491), UINT64_C(0x9B50F8850FD58892), UINT64_C(0x4975488358B74DE8),
<a name="l00297"></a>00297     UINT64_C(0xA3354FF691531C61), UINT64_C(0x0702BBE481D2C6EE), UINT64_C(0x89FB24057DEDED98),
<a name="l00298"></a>00298     UINT64_C(0xAC3075138596E902), UINT64_C(0x1D2D3580172772ED), UINT64_C(0xEB738FC28E6BC30D),
<a name="l00299"></a>00299     UINT64_C(0x5854EF8F63044326), UINT64_C(0x9E5C52325ADD3BBE), UINT64_C(0x90AA53CF325C4623),
<a name="l00300"></a>00300     UINT64_C(0xC1D24D51349DD067), UINT64_C(0x2051CFEEA69EA624), UINT64_C(0x13220F0A862E7E4F),
<a name="l00301"></a>00301     UINT64_C(0xCE39399404E04864), UINT64_C(0xD9C42CA47086FCB7), UINT64_C(0x685AD2238A03E7CC),
<a name="l00302"></a>00302     UINT64_C(0x066484B2AB2FF1DB), UINT64_C(0xFE9D5D70EFBF79EC), UINT64_C(0x5B13B9DD9C481854),
<a name="l00303"></a>00303     UINT64_C(0x15F0D475ED1509AD), UINT64_C(0x0BEBCD060EC79851), UINT64_C(0xD58C6791183AB7F8),
<a name="l00304"></a>00304     UINT64_C(0xD1187C5052F3EEE4), UINT64_C(0xC95D1192E54E82FF), UINT64_C(0x86EEA14CB9AC6CA2),
<a name="l00305"></a>00305     UINT64_C(0x3485BEB153677D5D), UINT64_C(0xDD191D781F8C492A), UINT64_C(0xF60866BAA784EBF9),
<a name="l00306"></a>00306     UINT64_C(0x518F643BA2D08C74), UINT64_C(0x8852E956E1087C22), UINT64_C(0xA768CB8DC410AE8D),
<a name="l00307"></a>00307     UINT64_C(0x38047726BFEC8E1A), UINT64_C(0xA67738B4CD3B45AA), UINT64_C(0xAD16691CEC0DDE19),
<a name="l00308"></a>00308     UINT64_C(0xC6D4319380462E07), UINT64_C(0xC5A5876D0BA61938), UINT64_C(0x16B9FA1FA58FD840),
<a name="l00309"></a>00309     UINT64_C(0x188AB1173CA74F18), UINT64_C(0xABDA2F98C99C021F), UINT64_C(0x3E0580AB134AE816),
<a name="l00310"></a>00310     UINT64_C(0x5F3B05B773645ABB), UINT64_C(0x2501A2BE5575F2F6), UINT64_C(0x1B2F74004E7E8BA9),
<a name="l00311"></a>00311     UINT64_C(0x1CD7580371E8D953), UINT64_C(0x7F6ED89562764E30), UINT64_C(0xB15926FF596F003D),
<a name="l00312"></a>00312     UINT64_C(0x9F65293DA8C5D6B9), UINT64_C(0x6ECEF04DD690F84C), UINT64_C(0x4782275FFF33AF88),
<a name="l00313"></a>00313     UINT64_C(0xE41433083F820801), UINT64_C(0xFD0DFE409A1AF9B5), UINT64_C(0x4325A3342CDB396B),
<a name="l00314"></a>00314     UINT64_C(0x8AE77E62B301B252), UINT64_C(0xC36F9E9F6655615A), UINT64_C(0x85455A2D92D32C09),
<a name="l00315"></a>00315     UINT64_C(0xF2C7DEA949477485), UINT64_C(0x63CFB4C133A39EBA), UINT64_C(0x83B040CC6EBC5462),
<a name="l00316"></a>00316     UINT64_C(0x3B9454C8FDB326B0), UINT64_C(0x56F56A9E87FFD78C), UINT64_C(0x2DC2940D99F42BC6),
<a name="l00317"></a>00317     UINT64_C(0x98F7DF096B096E2D), UINT64_C(0x19A6E01E3AD852BF), UINT64_C(0x42A99CCBDBD4B40B),
<a name="l00318"></a>00318     UINT64_C(0xA59998AF45E9C559), UINT64_C(0x366295E807D93186), UINT64_C(0x6B48181BFAA1F773),
<a name="l00319"></a>00319     UINT64_C(0x1FEC57E2157A0A1D), UINT64_C(0x4667446AF6201AD5), UINT64_C(0xE615EBCACFB0F075),
<a name="l00320"></a>00320     UINT64_C(0xB8F31F4F68290778), UINT64_C(0x22713ED6CE22D11E), UINT64_C(0x3057C1A72EC3C93B),
<a name="l00321"></a>00321     UINT64_C(0xCB46ACC37C3F1F2F), UINT64_C(0xDBB893FD02AAF50E), UINT64_C(0x331FD92E600B9FCF),
<a name="l00322"></a>00322     UINT64_C(0xA498F96148EA3AD6), UINT64_C(0xA8D8426E8B6A83EA), UINT64_C(0xA089B274B7735CDC),
<a name="l00323"></a>00323     UINT64_C(0x87F6B3731E524A11), UINT64_C(0x118808E5CBC96749), UINT64_C(0x9906E4C7B19BD394),
<a name="l00324"></a>00324     UINT64_C(0xAFED7F7E9B24A20C), UINT64_C(0x6509EADEEB3644A7), UINT64_C(0x6C1EF1D3E8EF0EDE),
<a name="l00325"></a>00325     UINT64_C(0xB9C97D43E9798FB4), UINT64_C(0xA2F2D784740C28A3), UINT64_C(0x7B8496476197566F),
<a name="l00326"></a>00326     UINT64_C(0x7A5BE3E6B65F069D), UINT64_C(0xF96330ED78BE6F10), UINT64_C(0xEEE60DE77A076A15),
<a name="l00327"></a>00327     UINT64_C(0x2B4BEE4AA08B9BD0), UINT64_C(0x6A56A63EC7B8894E), UINT64_C(0x02121359BA34FEF4),
<a name="l00328"></a>00328     UINT64_C(0x4CBF99F8283703FC), UINT64_C(0x398071350CAF30C8), UINT64_C(0xD0A77A89F017687A),
<a name="l00329"></a>00329     UINT64_C(0xF1C1A9EB9E423569), UINT64_C(0x8C7976282DEE8199), UINT64_C(0x5D1737A5DD1F7ABD),
<a name="l00330"></a>00330     UINT64_C(0x4F53433C09A9FA80), UINT64_C(0xFA8B0C53DF7CA1D9), UINT64_C(0x3FD9DCBC886CCB77),
<a name="l00331"></a>00331     UINT64_C(0xC040917CA91B4720), UINT64_C(0x7DD00142F9D1DCDF), UINT64_C(0x8476FC1D4F387B58),
<a name="l00332"></a>00332     UINT64_C(0x23F8E7C5F3316503), UINT64_C(0x032A2244E7E37339), UINT64_C(0x5C87A5D750F5A74B),
<a name="l00333"></a>00333     UINT64_C(0x082B4CC43698992E), UINT64_C(0xDF917BECB858F63C), UINT64_C(0x3270B8FC5BF86DDA),
<a name="l00334"></a>00334     UINT64_C(0x10AE72BB29B5DD76), UINT64_C(0x576AC94E7700362B), UINT64_C(0x1AD112DAC61EFB8F),
<a name="l00335"></a>00335     UINT64_C(0x691BC30EC5FAA427), UINT64_C(0xFF246311CC327143), UINT64_C(0x3142368E30E53206),
<a name="l00336"></a>00336     UINT64_C(0x71380E31E02CA396), UINT64_C(0x958D5C960AAD76F1), UINT64_C(0xF8D6F430C16DA536),
<a name="l00337"></a>00337     UINT64_C(0xC8FFD13F1BE7E1D2), UINT64_C(0x7578AE66004DDBE1), UINT64_C(0x05833F01067BE646),
<a name="l00338"></a>00338     UINT64_C(0xBB34B5AD3BFE586D), UINT64_C(0x095F34C9A12B97F0), UINT64_C(0x247AB64525D60CA8),
<a name="l00339"></a>00339     UINT64_C(0xDCDBC6F3017477D1), UINT64_C(0x4A2E14D4DECAD24D), UINT64_C(0xBDB5E6D9BE0A1EEB),
<a name="l00340"></a>00340     UINT64_C(0x2A7E70F7794301AB), UINT64_C(0xDEF42D8A270540FD), UINT64_C(0x01078EC0A34C22C1),
<a name="l00341"></a>00341     UINT64_C(0xE5DE511AF4C16387), UINT64_C(0x7EBB3A52BD9A330A), UINT64_C(0x77697857AA7D6435),
<a name="l00342"></a>00342     UINT64_C(0x004E831603AE4C32), UINT64_C(0xE7A21020AD78E312), UINT64_C(0x9D41A70C6AB420F2),
<a name="l00343"></a>00343     UINT64_C(0x28E06C18EA1141E6), UINT64_C(0xD2B28CBD984F6B28), UINT64_C(0x26B75F6C446E9D83),
<a name="l00344"></a>00344     UINT64_C(0xBA47568C4D418D7F), UINT64_C(0xD80BADBFE6183D8E), UINT64_C(0x0E206D7F5F166044),
<a name="l00345"></a>00345     UINT64_C(0xE258A43911CBCA3E), UINT64_C(0x723A1746B21DC0BC), UINT64_C(0xC7CAA854F5D7CDD3),
<a name="l00346"></a>00346     UINT64_C(0x7CAC32883D261D9C), UINT64_C(0x7690C26423BA942C), UINT64_C(0x17E55524478042B8),
<a name="l00347"></a>00347     UINT64_C(0xE0BE477656A2389F), UINT64_C(0x4D289B5E67AB2DA0), UINT64_C(0x44862B9C8FBBFD31),
<a name="l00348"></a>00348     UINT64_C(0xB47CC8049D141365), UINT64_C(0x822C1B362B91C793), UINT64_C(0x4EB14655FB13DFD8),
<a name="l00349"></a>00349     UINT64_C(0x1ECBBA0714E2A97B), UINT64_C(0x6143459D5CDE5F14), UINT64_C(0x53A8FBF1D5F0AC89),
<a name="l00350"></a>00350     UINT64_C(0x97EA04D81C5E5B00), UINT64_C(0x622181A8D4FDB3F3), UINT64_C(0xE9BCD341572A1208),
<a name="l00351"></a>00351     UINT64_C(0x1411258643CCE58A), UINT64_C(0x9144C5FEA4C6E0A4), UINT64_C(0x0D33D06565CF620F),
<a name="l00352"></a>00352     UINT64_C(0x54A48D489F219CA1), UINT64_C(0xC43E5EAC6D63C821), UINT64_C(0xA9728B3A72770DAF),
<a name="l00353"></a>00353     UINT64_C(0xD7934E7B20DF87EF), UINT64_C(0xE35503B61A3E86E5), UINT64_C(0xCAE321FBC819D504),
<a name="l00354"></a>00354     UINT64_C(0x129A50B3AC60BFA6), UINT64_C(0xCD5E68EA7E9FB6C3), UINT64_C(0xB01C90199483B1C7),
<a name="l00355"></a>00355     UINT64_C(0x3DE93CD5C295376C), UINT64_C(0xAED52EDF2AB9AD13), UINT64_C(0x2E60F512C0A07884),
<a name="l00356"></a>00356     UINT64_C(0xBC3D86A3E36210C9), UINT64_C(0x35269D9B163951CE), UINT64_C(0x0C7D6E2AD0CDB5FA),
<a name="l00357"></a>00357     UINT64_C(0x59E86297D87F5733), UINT64_C(0x298EF221898DB0E7), UINT64_C(0x55000029D1A5AA7E),
<a name="l00358"></a>00358     UINT64_C(0x8BC08AE1B5061B45), UINT64_C(0xC2C31C2B6C92703A), UINT64_C(0x94CC596BAF25EF42),
<a name="l00359"></a>00359     UINT64_C(0x0A1D73DB22540456), UINT64_C(0x04B6A0F9D9C4179A), UINT64_C(0xEFFDAFA2AE3D3C60),
<a name="l00360"></a>00360     UINT64_C(0xF7C8075BB49496C4), UINT64_C(0x9CC5C7141D1CD4E3), UINT64_C(0x78BD1638218E5534),
<a name="l00361"></a>00361     UINT64_C(0xB2F11568F850246A), UINT64_C(0xEDFABCFA9502BC29), UINT64_C(0x796CE5F2DA23051B),
<a name="l00362"></a>00362     UINT64_C(0xAAE128B0DC93537C), UINT64_C(0x3A493DA0EE4B29AE), UINT64_C(0xB5DF6B2C416895D7),
<a name="l00363"></a>00363     UINT64_C(0xFCABBD25122D7F37), UINT64_C(0x70810B58105DC4B1), UINT64_C(0xE10FDD37F7882A90),
<a name="l00364"></a>00364     UINT64_C(0x524DCAB5518A3F5C), UINT64_C(0x3C9E85878451255B), UINT64_C(0x4029828119BD34E2),
<a name="l00365"></a>00365     UINT64_C(0x74A05B6F5D3CECCB), UINT64_C(0xB610021542E13ECA), UINT64_C(0x0FF979D12F59E2AC),
<a name="l00366"></a>00366     UINT64_C(0x6037DA27E4F9CC50), UINT64_C(0x5E92975A0DF1847D), UINT64_C(0xD66DE190D3E623FE),
<a name="l00367"></a>00367     UINT64_C(0x5032D6B87B568048), UINT64_C(0x9A36B7CE8235216E), UINT64_C(0x80272A7A24F64B4A),
<a name="l00368"></a>00368     UINT64_C(0x93EFED8B8C6916F7), UINT64_C(0x37DDBFF44CCE1555), UINT64_C(0x4B95DB5D4B99BD25),
<a name="l00369"></a>00369     UINT64_C(0x92D3FDA169812FC0), UINT64_C(0xFB1A4A9A90660BB6), UINT64_C(0x730C196946A4B9B2),
<a name="l00370"></a>00370     UINT64_C(0x81E289AA7F49DA68), UINT64_C(0x64669A0F83B1A05F), UINT64_C(0x27B3FF7D9644F48B),
<a name="l00371"></a>00371     UINT64_C(0xCC6B615C8DB675B3), UINT64_C(0x674F20B9BCEBBE95), UINT64_C(0x6F31238275655982),
<a name="l00372"></a>00372     UINT64_C(0x5AE488713E45CF05), UINT64_C(0xBF619F9954C21157), UINT64_C(0xEABAC46040A8EAE9),
<a name="l00373"></a>00373     UINT64_C(0x454C6FE9F2C0C1CD), UINT64_C(0x419CF6496412691C), UINT64_C(0xD3DC3BEF265B0F70),
<a name="l00374"></a>00374     UINT64_C(0x6D0E60F5C3578A9E)
<a name="l00375"></a>00375 };
<a name="l00376"></a>00376 
<a name="l00377"></a>00377 <span class="keyword">static</span> <span class="keyword">const</span> uint64_t SB4[256] = {
<a name="l00378"></a>00378     UINT64_C(0x5B0E608526323C55), UINT64_C(0x1A46C1A9FA1B59F5), UINT64_C(0xA9E245A17C4C8FFA),
<a name="l00379"></a>00379     UINT64_C(0x65CA5159DB2955D7), UINT64_C(0x05DB0A76CE35AFC2), UINT64_C(0x81EAC77EA9113D45),
<a name="l00380"></a>00380     UINT64_C(0x528EF88AB6AC0A0D), UINT64_C(0xA09EA253597BE3FF), UINT64_C(0x430DDFB3AC48CD56),
<a name="l00381"></a>00381     UINT64_C(0xC4B3A67AF45CE46F), UINT64_C(0x4ECECFD8FBE2D05E), UINT64_C(0x3EF56F10B39935F0),
<a name="l00382"></a>00382     UINT64_C(0x0B22D6829CD619C6), UINT64_C(0x17FD460A74DF2069), UINT64_C(0x6CF8CC8E8510ED40),
<a name="l00383"></a>00383     UINT64_C(0xD6C824BF3A6ECAA7), UINT64_C(0x61243D581A817049), UINT64_C(0x048BACB6BBC163A2),
<a name="l00384"></a>00384     UINT64_C(0xD9A38AC27D44CC32), UINT64_C(0x7FDDFF5BAAF410AB), UINT64_C(0xAD6D495AA804824B),
<a name="l00385"></a>00385     UINT64_C(0xE1A6A74F2D8C9F94), UINT64_C(0xD4F7851235DEE8E3), UINT64_C(0xFD4B7F886540D893),
<a name="l00386"></a>00386     UINT64_C(0x247C20042AA4BFDA), UINT64_C(0x096EA1C517D1327C), UINT64_C(0xD56966B4361A6685),
<a name="l00387"></a>00387     UINT64_C(0x277DA5C31221057D), UINT64_C(0x94D59893A43ACFF7), UINT64_C(0x64F0C51CCDC02281),
<a name="l00388"></a>00388     UINT64_C(0x3D33BCC4FF6189DB), UINT64_C(0xE005CB184CE66AF1), UINT64_C(0xFF5CCD1D1DB99BEA),
<a name="l00389"></a>00389     UINT64_C(0xB0B854A7FE42980F), UINT64_C(0x7BD46A6A718D4B9F), UINT64_C(0xD10FA8CC22A5FD8C),
<a name="l00390"></a>00390     UINT64_C(0xD31484952BE4BD31), UINT64_C(0xC7FA975FCB243847), UINT64_C(0x4886ED1E5846C407),
<a name="l00391"></a>00391     UINT64_C(0x28CDDB791EB70B04), UINT64_C(0xC2B00BE2F573417F), UINT64_C(0x5C9590452180F877),
<a name="l00392"></a>00392     UINT64_C(0x7A6BDDFFF370EB00), UINT64_C(0xCE509E38D6D9D6A4), UINT64_C(0xEBEB0F00647FA702),
<a name="l00393"></a>00393     UINT64_C(0x1DCC06CF76606F06), UINT64_C(0xE4D9F28BA286FF0A), UINT64_C(0xD85A305DC918C262),
<a name="l00394"></a>00394     UINT64_C(0x475B1D8732225F54), UINT64_C(0x2D4FB51668CCB5FE), UINT64_C(0xA679B9D9D72BBA20),
<a name="l00395"></a>00395     UINT64_C(0x53841C0D912D43A5), UINT64_C(0x3B7EAA48BF12A4E8), UINT64_C(0x781E0E47F22F1DDF),
<a name="l00396"></a>00396     UINT64_C(0xEFF20CE60AB50973), UINT64_C(0x20D261D19DFFB742), UINT64_C(0x16A12B03062A2E39),
<a name="l00397"></a>00397     UINT64_C(0x1960EB2239650495), UINT64_C(0x251C16FED50EB8B8), UINT64_C(0x9AC0C330F826016E),
<a name="l00398"></a>00398     UINT64_C(0xED152665953E7671), UINT64_C(0x02D63194A6369570), UINT64_C(0x5074F08394B1C987),
<a name="l00399"></a>00399     UINT64_C(0x70BA598C90B25CE1), UINT64_C(0x794A15810B9742F6), UINT64_C(0x0D5925E9FCAF8C6C),
<a name="l00400"></a>00400     UINT64_C(0x3067716CD868744E), UINT64_C(0x910AB077E8D7731B), UINT64_C(0x6A61BBDB5AC42F61),
<a name="l00401"></a>00401     UINT64_C(0x93513EFBF0851567), UINT64_C(0xF494724B9E83E9D5), UINT64_C(0xE887E1985C09648D),
<a name="l00402"></a>00402     UINT64_C(0x34B1D3C675370CFD), UINT64_C(0xDC35E433BC0D255D), UINT64_C(0xD0AAB84234131BE0),
<a name="l00403"></a>00403     UINT64_C(0x08042A50B48B7EAF), UINT64_C(0x9997C4EE44A3AB35), UINT64_C(0x829A7B49201799D0),
<a name="l00404"></a>00404     UINT64_C(0x263B8307B7C54441), UINT64_C(0x752F95F4FD6A6CA6), UINT64_C(0x927217402C08C6E5),
<a name="l00405"></a>00405     UINT64_C(0x2A8AB754A795D9EE), UINT64_C(0xA442F7552F72943D), UINT64_C(0x2C31334E19781208),
<a name="l00406"></a>00406     UINT64_C(0x4FA98D7CEAEE6291), UINT64_C(0x55C3862F665DB309), UINT64_C(0xBD0610175D53B1F3),
<a name="l00407"></a>00407     UINT64_C(0x46FE6CB840413F27), UINT64_C(0x3FE03792DF0CFA59), UINT64_C(0xCFE700372EB85E8F),
<a name="l00408"></a>00408     UINT64_C(0xA7BE29E7ADBCE118), UINT64_C(0xE544EE5CDE8431DD), UINT64_C(0x8A781B1B41F1873E),
<a name="l00409"></a>00409     UINT64_C(0xA5C94C78A0D2F0E7), UINT64_C(0x39412E2877B60728), UINT64_C(0xA1265EF3AFC9A62C),
<a name="l00410"></a>00410     UINT64_C(0xBCC2770C6A2506C5), UINT64_C(0x3AB66DD5DCE1CE12), UINT64_C(0xE65499D04A675B37),
<a name="l00411"></a>00411     UINT64_C(0x7D8F523481BFD216), UINT64_C(0x0F6F64FCEC15F389), UINT64_C(0x74EFBE618B5B13C8),
<a name="l00412"></a>00412     UINT64_C(0xACDC82B714273E1D), UINT64_C(0xDD40BFE003199D17), UINT64_C(0x37E99257E7E061F8),
<a name="l00413"></a>00413     UINT64_C(0xFA52626904775AAA), UINT64_C(0x8BBBF63A463D56F9), UINT64_C(0xF0013F1543A26E64),
<a name="l00414"></a>00414     UINT64_C(0xA8307E9F879EC898), UINT64_C(0xCC4C27A4150177CC), UINT64_C(0x1B432F2CCA1D3348),
<a name="l00415"></a>00415     UINT64_C(0xDE1D1F8F9F6FA013), UINT64_C(0x606602A047A7DDD6), UINT64_C(0xD237AB64CC1CB2C7),
<a name="l00416"></a>00416     UINT64_C(0x9B938E7225FCD1D3), UINT64_C(0xEC4E03708E0FF476), UINT64_C(0xFEB2FBDA3D03C12D),
<a name="l00417"></a>00417     UINT64_C(0xAE0BCED2EE43889A), UINT64_C(0x22CB8923EBFB4F43), UINT64_C(0x69360D013CF7396D),
<a name="l00418"></a>00418     UINT64_C(0x855E3602D2D4E022), UINT64_C(0x073805BAD01F784C), UINT64_C(0x33E17A133852F546),
<a name="l00419"></a>00419     UINT64_C(0xDF4874058AC7B638), UINT64_C(0xBA92B29C678AA14A), UINT64_C(0x0CE89FC76CFAADCD),
<a name="l00420"></a>00420     UINT64_C(0x5F9D4E0908339E34), UINT64_C(0xF1AFE9291F5923B9), UINT64_C(0x6E3480F60F4A265F),
<a name="l00421"></a>00421     UINT64_C(0xEEBF3A2AB29B841C), UINT64_C(0xE21938A88F91B4AD), UINT64_C(0x57DFEFF845C6D3C3),
<a name="l00422"></a>00422     UINT64_C(0x2F006B0BF62CAAF2), UINT64_C(0x62F479EF6F75EE78), UINT64_C(0x11A55AD41C8916A9),
<a name="l00423"></a>00423     UINT64_C(0xF229D29084FED453), UINT64_C(0x42F1C27B16B000E6), UINT64_C(0x2B1F76749823C074),
<a name="l00424"></a>00424     UINT64_C(0x4B76ECA3C2745360), UINT64_C(0x8C98F463B91691BD), UINT64_C(0x14BCC93CF1ADE66A),
<a name="l00425"></a>00425     UINT64_C(0x8885213E6D458397), UINT64_C(0x8E177DF0274D4711), UINT64_C(0xB49B73B5503F2951),
<a name="l00426"></a>00426     UINT64_C(0x10168168C3F96B6B), UINT64_C(0x0E3D963B63CAB0AE), UINT64_C(0x8DFC4B5655A1DB14),
<a name="l00427"></a>00427     UINT64_C(0xF789F1356E14DE5C), UINT64_C(0x683E68AF4E51DAC1), UINT64_C(0xC9A84F9D8D4B0FD9),
<a name="l00428"></a>00428     UINT64_C(0x3691E03F52A0F9D1), UINT64_C(0x5ED86E46E1878E80), UINT64_C(0x3C711A0E99D07150),
<a name="l00429"></a>00429     UINT64_C(0x5A0865B20C4E9310), UINT64_C(0x56FBFC1FE4F0682E), UINT64_C(0xEA8D5DE3105EDF9B),
<a name="l00430"></a>00430     UINT64_C(0x71ABFDB12379187A), UINT64_C(0x2EB99DE1BEE77B9C), UINT64_C(0x21ECC0EA33CF4523),
<a name="l00431"></a>00431     UINT64_C(0x59A4D7521805C7A1), UINT64_C(0x3896F5EB56AE7C72), UINT64_C(0xAA638F3DB18F75DC),
<a name="l00432"></a>00432     UINT64_C(0x9F39358DABE9808E), UINT64_C(0xB7DEFA91C00B72AC), UINT64_C(0x6B5541FD62492D92),
<a name="l00433"></a>00433     UINT64_C(0x6DC6DEE8F92E4D5B), UINT64_C(0x353F57ABC4BEEA7E), UINT64_C(0x735769D6DA5690CE),
<a name="l00434"></a>00434     UINT64_C(0x0A234AA642391484), UINT64_C(0xF6F9508028F80D9D), UINT64_C(0xB8E319A27AB3F215),
<a name="l00435"></a>00435     UINT64_C(0x31AD9C1151341A4D), UINT64_C(0x773C22A57BEF5805), UINT64_C(0x45C7561A07968633),
<a name="l00436"></a>00436     UINT64_C(0xF913DA9E249DBE36), UINT64_C(0xDA652D9B78A64C68), UINT64_C(0x4C27A97F3BC334EF),
<a name="l00437"></a>00437     UINT64_C(0x76621220E66B17F4), UINT64_C(0x967743899ACD7D0B), UINT64_C(0xF3EE5BCAE0ED6782),
<a name="l00438"></a>00438     UINT64_C(0x409F753600C879FC), UINT64_C(0x06D09A39B5926DB6), UINT64_C(0x6F83AEB0317AC588),
<a name="l00439"></a>00439     UINT64_C(0x01E6CA4A86381F21), UINT64_C(0x66FF3462D19F3025), UINT64_C(0x72207C24DDFD3BFB),
<a name="l00440"></a>00440     UINT64_C(0x4AF6B6D3E2ECE2EB), UINT64_C(0x9C994DBEC7EA08DE), UINT64_C(0x49ACE597B09A8BC4),
<a name="l00441"></a>00441     UINT64_C(0xB38C4766CF0797BA), UINT64_C(0x131B9373C57C2A75), UINT64_C(0xB1822CCE61931E58),
<a name="l00442"></a>00442     UINT64_C(0x9D7555B909BA1C0C), UINT64_C(0x127FAFDD937D11D2), UINT64_C(0x29DA3BADC66D92E4),
<a name="l00443"></a>00443     UINT64_C(0xA2C1D57154C2ECBC), UINT64_C(0x58C5134D82F6FE24), UINT64_C(0x1C3AE3515B62274F),
<a name="l00444"></a>00444     UINT64_C(0xE907C82E01CB8126), UINT64_C(0xF8ED091913E37FCB), UINT64_C(0x3249D8F9C80046C9),
<a name="l00445"></a>00445     UINT64_C(0x80CF9BEDE388FB63), UINT64_C(0x1881539A116CF19E), UINT64_C(0x5103F3F76BD52457),
<a name="l00446"></a>00446     UINT64_C(0x15B7E6F5AE47F7A8), UINT64_C(0xDBD7C6DED47E9CCF), UINT64_C(0x44E55C410228BB1A),
<a name="l00447"></a>00447     UINT64_C(0xB647D4255EDB4E99), UINT64_C(0x5D11882BB8AAFC30), UINT64_C(0xF5098BBB29D3212A),
<a name="l00448"></a>00448     UINT64_C(0x8FB5EA14E90296B3), UINT64_C(0x677B942157DD025A), UINT64_C(0xFB58E7C0A390ACB5),
<a name="l00449"></a>00449     UINT64_C(0x89D3674C83BD4A01), UINT64_C(0x9E2DA4DF4BF3B93B), UINT64_C(0xFCC41E328CAB4829),
<a name="l00450"></a>00450     UINT64_C(0x03F38C96BA582C52), UINT64_C(0xCAD1BDBD7FD85DB2), UINT64_C(0xBBB442C16082AE83),
<a name="l00451"></a>00451     UINT64_C(0xB95FE86BA5DA9AB0), UINT64_C(0xB22E04673771A93F), UINT64_C(0x845358C9493152D8),
<a name="l00452"></a>00452     UINT64_C(0xBE2A488697B4541E), UINT64_C(0x95A2DC2DD38E6966), UINT64_C(0xC02C11AC923C852B),
<a name="l00453"></a>00453     UINT64_C(0x2388B1990DF2A87B), UINT64_C(0x7C8008FA1B4F37BE), UINT64_C(0x1F70D0C84D54E503),
<a name="l00454"></a>00454     UINT64_C(0x5490ADEC7ECE57D4), UINT64_C(0x002B3C27D9063A3A), UINT64_C(0x7EAEA3848030A2BF),
<a name="l00455"></a>00455     UINT64_C(0xC602326DED2003C0), UINT64_C(0x83A7287D69A94086), UINT64_C(0xC57A5FCB30F57A8A),
<a name="l00456"></a>00456     UINT64_C(0xB56844E479EBE779), UINT64_C(0xA373B40F05DCBCE9), UINT64_C(0xD71A786E88570EE2),
<a name="l00457"></a>00457     UINT64_C(0x879CBACDBDE8F6A0), UINT64_C(0x976AD1BCC164A32F), UINT64_C(0xAB21E25E9666D78B),
<a name="l00458"></a>00458     UINT64_C(0x901063AAE5E5C33C), UINT64_C(0x9818B34448698D90), UINT64_C(0xE36487AE3E1E8ABB),
<a name="l00459"></a>00459     UINT64_C(0xAFBDF931893BDCB4), UINT64_C(0x6345A0DC5FBBD519), UINT64_C(0x8628FE269B9465CA),
<a name="l00460"></a>00460     UINT64_C(0x1E5D01603F9C51EC), UINT64_C(0x4DE44006A15049B7), UINT64_C(0xBF6C70E5F776CBB1),
<a name="l00461"></a>00461     UINT64_C(0x411218F2EF552BED), UINT64_C(0xCB0C0708705A36A3), UINT64_C(0xE74D14754F986044),
<a name="l00462"></a>00462     UINT64_C(0xCD56D9430EA8280E), UINT64_C(0xC12591D7535F5065), UINT64_C(0xC83223F1720AEF96),
<a name="l00463"></a>00463     UINT64_C(0xC3A0396F7363A51F)
<a name="l00464"></a>00464 };
<a name="l00465"></a>00465 
<a name="l00466"></a>00466 <span class="preprocessor">#define ROUND(a, b, c, x, mul) do {                             \</span>
<a name="l00467"></a>00467 <span class="preprocessor">        c ^= x;                                                 \</span>
<a name="l00468"></a>00468 <span class="preprocessor">        a -= SB1[(c     ) &amp; 0xFF] ^ SB2[(c &gt;&gt; 16) &amp; 0xFF] ^     \</span>
<a name="l00469"></a>00469 <span class="preprocessor">            SB3[(c &gt;&gt; 32) &amp; 0xFF] ^ SB4[(c &gt;&gt; 48) &amp; 0xFF];      \</span>
<a name="l00470"></a>00470 <span class="preprocessor">        b += SB4[(c &gt;&gt; 8) &amp; 0xFF] ^ SB3[(c &gt;&gt; 24) &amp; 0xFF] ^     \</span>
<a name="l00471"></a>00471 <span class="preprocessor">            SB2[(c &gt;&gt; 40) &amp; 0xFF] ^ SB1[(c &gt;&gt; 56) &amp; 0xFF];      \</span>
<a name="l00472"></a>00472 <span class="preprocessor">        b *= mul;                                               \</span>
<a name="l00473"></a>00473 <span class="preprocessor">    } while (0)</span>
<a name="l00474"></a>00474 <span class="preprocessor"></span>
<a name="l00475"></a>00475 <span class="preprocessor">#define TIGER_PASS(a, b, c, x, mul) do {        \</span>
<a name="l00476"></a>00476 <span class="preprocessor">        ROUND(a, b, c, x[0], mul);              \</span>
<a name="l00477"></a>00477 <span class="preprocessor">        ROUND(b, c, a, x[1], mul);              \</span>
<a name="l00478"></a>00478 <span class="preprocessor">        ROUND(c, a, b, x[2], mul);              \</span>
<a name="l00479"></a>00479 <span class="preprocessor">        ROUND(a, b, c, x[3], mul);              \</span>
<a name="l00480"></a>00480 <span class="preprocessor">        ROUND(b, c, a, x[4], mul);              \</span>
<a name="l00481"></a>00481 <span class="preprocessor">        ROUND(c, a, b, x[5], mul);              \</span>
<a name="l00482"></a>00482 <span class="preprocessor">        ROUND(a, b, c, x[6], mul);              \</span>
<a name="l00483"></a>00483 <span class="preprocessor">        ROUND(b, c, a, x[7], mul);              \</span>
<a name="l00484"></a>00484 <span class="preprocessor">    } while (0)</span>
<a name="l00485"></a>00485 <span class="preprocessor"></span>
<a name="l00486"></a>00486 <span class="preprocessor">#define TIGER_KEY_SCHED(x) do {                                         \</span>
<a name="l00487"></a>00487 <span class="preprocessor">        x[0] -= x[7] ^ UINT64_C(0xA5A5A5A5A5A5A5A5);                    \</span>
<a name="l00488"></a>00488 <span class="preprocessor">        x[1] ^= x[0]; x[2] += x[1];                                     \</span>
<a name="l00489"></a>00489 <span class="preprocessor">        x[3] -= x[2] ^ ((~x[1]) &lt;&lt; 19); x[4] ^= x[3]; x[5] += x[4];     \</span>
<a name="l00490"></a>00490 <span class="preprocessor">        x[6] -= x[5] ^ ((~x[4]) &gt;&gt; 23); x[7] ^= x[6]; x[0] += x[7];     \</span>
<a name="l00491"></a>00491 <span class="preprocessor">        x[1] -= x[0] ^ ((~x[7]) &lt;&lt; 19); x[2] ^= x[1]; x[3] += x[2];     \</span>
<a name="l00492"></a>00492 <span class="preprocessor">        x[4] -= x[3] ^ ((~x[2]) &gt;&gt; 23); x[5] ^= x[4]; x[6] += x[5];     \</span>
<a name="l00493"></a>00493 <span class="preprocessor">        x[7] -= x[6] ^ UINT64_C(0x0123456789ABCDEF);                    \</span>
<a name="l00494"></a>00494 <span class="preprocessor">    } while (0)</span>
<a name="l00495"></a>00495 <span class="preprocessor"></span>
<a name="l00496"></a>00496 <span class="keyword">static</span> <span class="keywordtype">void</span> __tiger_transform(tiger_ctx* ctx, uint64_t* buf)
<a name="l00497"></a>00497 {
<a name="l00498"></a>00498     uint64_t a, b, c, aa, bb, cc;
<a name="l00499"></a>00499     uint64_t x[8];
<a name="l00500"></a>00500     <span class="keywordtype">int</span> i;
<a name="l00501"></a>00501 
<a name="l00502"></a>00502     <span class="keywordflow">for</span> (i = 0; i &lt; 8; ++i)
<a name="l00503"></a>00503         x[i] = __le64_to_cpu(buf[i]);
<a name="l00504"></a>00504 
<a name="l00505"></a>00505     a = aa = ctx-&gt;a;
<a name="l00506"></a>00506     b = bb = ctx-&gt;b;
<a name="l00507"></a>00507     c = cc = ctx-&gt;c;
<a name="l00508"></a>00508 
<a name="l00509"></a>00509     TIGER_PASS(a, b, c, x, 5);
<a name="l00510"></a>00510     TIGER_KEY_SCHED(x);
<a name="l00511"></a>00511     TIGER_PASS(c, a, b, x, 7);
<a name="l00512"></a>00512     TIGER_KEY_SCHED(x);
<a name="l00513"></a>00513     TIGER_PASS(b, c, a, x, 9);
<a name="l00514"></a>00514 
<a name="l00515"></a>00515     a ^= aa;
<a name="l00516"></a>00516     b -= bb;
<a name="l00517"></a>00517     c += cc;
<a name="l00518"></a>00518 
<a name="l00519"></a>00519     ctx-&gt;a = a;
<a name="l00520"></a>00520     ctx-&gt;b = b;
<a name="l00521"></a>00521     ctx-&gt;c = c;
<a name="l00522"></a>00522 }
<a name="l00523"></a>00523 
<a name="l00524"></a>00524 <span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> tiger_transform(tiger_ctx* ctx, <a class="code" href="group___xE6_x95_xB4_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#gae1affc9ca37cfb624959c866a73f83c2" title="8比特无符号整型">uint8_t</a>* buf)
<a name="l00525"></a>00525 {
<a name="l00526"></a>00526     __tiger_transform(ctx, (uint64_t*)buf);
<a name="l00527"></a>00527 }
<a name="l00528"></a>00528 
<a name="l00529"></a>00529 NV_IMPL <span class="keywordtype">void</span> __tiger_update(tiger_ctx* ctx, <a class="code" href="group___xE6_x95_xB4_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#gae1affc9ca37cfb624959c866a73f83c2" title="8比特无符号整型">uint8_t</a>* buf, <span class="keywordtype">size_t</span> len)
<a name="l00530"></a>00530 {
<a name="l00531"></a>00531     <a class="code" href="group___xE6_x95_xB4_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#gae1affc9ca37cfb624959c866a73f83c2" title="8比特无符号整型">uint8_t</a>* hash = ctx-&gt;digest;
<a name="l00532"></a>00532 
<a name="l00533"></a>00533     <span class="keywordflow">if</span> (ctx-&gt;cnt == 64) {
<a name="l00534"></a>00534         <span class="comment">/* flush buffer */</span>
<a name="l00535"></a>00535         tiger_transform(ctx, hash);
<a name="l00536"></a>00536         ctx-&gt;cnt = 0;
<a name="l00537"></a>00537         ++ctx-&gt;blks;
<a name="l00538"></a>00538     }
<a name="l00539"></a>00539 
<a name="l00540"></a>00540     <span class="keywordflow">if</span> (!buf)
<a name="l00541"></a>00541         <span class="keywordflow">return</span>;
<a name="l00542"></a>00542 
<a name="l00543"></a>00543     <span class="keywordflow">if</span> (ctx-&gt;cnt) {
<a name="l00544"></a>00544         <span class="keywordflow">while</span> (len &amp;&amp; ctx-&gt;cnt &lt; 64) {
<a name="l00545"></a>00545             hash[ctx-&gt;cnt++] = *buf++;
<a name="l00546"></a>00546             --len;
<a name="l00547"></a>00547         }
<a name="l00548"></a>00548         __tiger_update(ctx, NULL, 0);
<a name="l00549"></a>00549         <span class="keywordflow">if</span> (!len)
<a name="l00550"></a>00550             <span class="keywordflow">return</span>;
<a name="l00551"></a>00551     }
<a name="l00552"></a>00552 
<a name="l00553"></a>00553     <span class="keywordflow">while</span> (len &gt;= 64) {
<a name="l00554"></a>00554         tiger_transform(ctx, buf);
<a name="l00555"></a>00555         ctx-&gt;cnt = 0;
<a name="l00556"></a>00556         ++ctx-&gt;blks;
<a name="l00557"></a>00557         len -= 64;
<a name="l00558"></a>00558         buf += 64;
<a name="l00559"></a>00559     }
<a name="l00560"></a>00560     <span class="keywordflow">while</span> (len &amp;&amp; ctx-&gt;cnt &lt; 64) {
<a name="l00561"></a>00561         hash[ctx-&gt;cnt++] = *buf++;
<a name="l00562"></a>00562         --len;
<a name="l00563"></a>00563     }
<a name="l00564"></a>00564 }
<a name="l00565"></a>00565 
<a name="l00566"></a>00566 NV_IMPL <span class="keywordtype">void</span> __tiger_final(tiger_ctx* ctx, <a class="code" href="group___xE6_x95_xB4_xE5_x9E_x8B_xE5_xAE_x9A_xE4_xB9_x89.html#gae1affc9ca37cfb624959c866a73f83c2" title="8比特无符号整型">uint8_t</a>* hash, uint64_t* digest)
<a name="l00567"></a>00567 {
<a name="l00568"></a>00568     uint64_t* bp;
<a name="l00569"></a>00569     uint32_t* lp;
<a name="l00570"></a>00570     uint32_t t, lsb, msb;
<a name="l00571"></a>00571     uint32_t cnt = ctx-&gt;cnt;
<a name="l00572"></a>00572 
<a name="l00573"></a>00573     __tiger_update(ctx, NULL, 0);
<a name="l00574"></a>00574 
<a name="l00575"></a>00575     msb = 0;
<a name="l00576"></a>00576     t = ctx-&gt;blks;
<a name="l00577"></a>00577     lsb = t &lt;&lt; 6;
<a name="l00578"></a>00578     <span class="keywordflow">if</span> (lsb &lt; t)
<a name="l00579"></a>00579         ++msb;
<a name="l00580"></a>00580     msb += (t &gt;&gt; 26);
<a name="l00581"></a>00581     t = lsb;
<a name="l00582"></a>00582     lsb += cnt;
<a name="l00583"></a>00583     <span class="keywordflow">if</span> (lsb &lt; t)
<a name="l00584"></a>00584         ++msb;
<a name="l00585"></a>00585     t = lsb;
<a name="l00586"></a>00586     lsb &lt;&lt;= 3;
<a name="l00587"></a>00587     <span class="keywordflow">if</span> (lsb &lt; t)
<a name="l00588"></a>00588         ++msb;
<a name="l00589"></a>00589     msb += (t &gt;&gt; 29);
<a name="l00590"></a>00590 
<a name="l00591"></a>00591     <span class="keywordflow">if</span> (cnt &lt; 56) {
<a name="l00592"></a>00592         hash[cnt++] = 1;
<a name="l00593"></a>00593         <span class="keywordflow">while</span> (cnt &lt; 56)
<a name="l00594"></a>00594             hash[cnt++] = 0;
<a name="l00595"></a>00595     } <span class="keywordflow">else</span> {
<a name="l00596"></a>00596         hash[cnt++] = 1;
<a name="l00597"></a>00597         <span class="keywordflow">while</span> (cnt &lt; 64)
<a name="l00598"></a>00598             hash[cnt++] = 0;
<a name="l00599"></a>00599         __tiger_update(ctx, NULL, 0);
<a name="l00600"></a>00600         memset(hash, 0, 56);
<a name="l00601"></a>00601     }
<a name="l00602"></a>00602 
<a name="l00603"></a>00603     ctx-&gt;cnt = cnt;
<a name="l00604"></a>00604 
<a name="l00605"></a>00605     lp = (uint32_t*)(hash + 56);
<a name="l00606"></a>00606     lp[0] = __cpu_to_le32(lsb);
<a name="l00607"></a>00607     lp[1] = __cpu_to_le32(msb);
<a name="l00608"></a>00608 
<a name="l00609"></a>00609     tiger_transform(ctx, hash);
<a name="l00610"></a>00610 
<a name="l00611"></a>00611     bp = (uint64_t*)hash;
<a name="l00612"></a>00612     digest[0] = bp[0] = __cpu_to_be64(ctx-&gt;a);
<a name="l00613"></a>00613     digest[1] = bp[1] = __cpu_to_be64(ctx-&gt;b);
<a name="l00614"></a>00614     digest[2] = bp[2] = __cpu_to_be64(ctx-&gt;c);
<a name="l00615"></a>00615 }
<a name="l00616"></a>00616 
<a name="l00617"></a>00617 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00618"></a>00618 <span class="preprocessor"></span>}
<a name="l00619"></a>00619 <span class="preprocessor">#endif </span><span class="comment">/* #ifdef __cplusplus */</span>
<a name="l00620"></a>00620 
<a name="l00621"></a>00621 <span class="preprocessor">#endif </span><span class="comment">/* #ifdef INT64_SUPPORT */</span>
<a name="l00622"></a>00622 
</pre></div></div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>数据结构</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated at 2015年七月16日 星期四 12:00:37 for Navo Portable Library by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>
